﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Quan_Ly_Dai_Ly
{
    public partial class ReportPhieuThuTien : Form
    {
        public ReportPhieuThuTien()
        {
            InitializeComponent();
        }
        private string maPTT;

        public string MaPTT
        {
            get { return maPTT; }
            set { maPTT = value; }
        }
        private void ReportPhieuThuTien_Load(object sender, EventArgs e)
        {
            crystalReportViewer1.Refresh();
            CrystalReport2 rpt = new CrystalReport2();
            rpt.SetParameterValue(0, maPTT);
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.Show();
        }
    }
}
